package com.lyt.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class EmailConfig {

    //配置文件里面已经设置了邮箱的QQ账号。
    @Value("${spring.mail.username}")
    private String emailForm;
}
